package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tongatong
 * @name CustomerDao
 * @description
 * @date 2021/10/15
 * @time 10:24
 */
public interface CustomerDao {
    List<Customer> selectByName(@Param("customerName") String customerName);

    void insertCustomerById(Customer customer);

    void updateCustomerById(Customer customer);

    void deleteCustomerByIds(String[] ids);
}
